import request  from "@/utils/request";

export function listFileInfos(query) {
  return request({
    url: '/btrh/fileInfo',
    method: 'get',
    params: query
  })
}
export function queryWorkShop(businessId){
  if (businessId !== null || businessId !=='' || businessId !== undefined ){
    return request({
      url: '/btrh/fileInfo/workShop/'+businessId,
      method: 'get',
    })
  }else {
    return request({
      url: '/btrh/fileInfo/workShop',
      method: 'get',
    })
  }

}
